﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 贪吃蛇
{
    internal class EndScene: BeginorEndBaseScene
    {
        public EndScene()   
        {
            strTitle = "游戏结束";
            strOne = "回到游戏界面";
        }
        public override  void EnterJDoSomething()
        {
            if(nowSelIndex  == 0)
            {
                Game.ChangeScene(E_SceneType.Begin);
            }
            else
            {
                Environment.Exit(0);
            }
        }

    }
}
